Page 5 of 17
Re: How to use pick up items in your title packs
Posted: 25 Apr 2013, 13:31
by steeffeen
Gugli wrote:Code: Select all
// Only one of these 4 Booleans can be true at once
Boolean IsOnPlayer;
Boolean IsOnAnchor;
Boolean IsInWorld;
Boolean IsUnspawned;
/////////
why not an enum?

Re: How to use pick up items in your title packs
Posted: 25 Apr 2013, 14:21
by Gugli
steeffeen wrote:
why not an enum?

Good idea indeed, it will be far better !
(The underlying system isn't direclty an enum, and requires bitmasks checks, but it will be better to hide that from the script API. As often when coding, I lacked perspective ^_^..)
Thanks for the help. xD
Re: How to use pick up items in your title packs
Posted: 25 Apr 2013, 14:23
by steeffeen
Gugli wrote:Good idea indeed, it will be far better !
(The underlying system isn't direclty an enum, and requires bitmasks checks, but it will be better to hide that from the script API. As often when coding, I lacked perspective ^_^..)
Thanks for the help. xD
hehe great!

Re: How to use pick up items in your title packs
Posted: 25 Apr 2013, 14:32
by TGYoshi
alividerci wrote:but i know this code update your numbers of weapons
Code: Select all
declare UI <=> UIManager.GetUI(Player);
if (UI != Null) {
declare netwrite Integer Net_Combo_AmmoUpdate for UI;
declare netwrite Integer[Text] Net_Combo_AmmoMax for UI;
Net_Combo_AmmoUpdate = Now;
Net_Combo_AmmoMax = AmmoMax;
}
but it is not worked
No it does not, it sets a netwrite variabele (which can be retrieved in client-sided scripts).
It's probably to show the numbers above the ammo bar in the combo mode.
Re: How to use pick up items in your title packs
Posted: 25 Apr 2013, 15:39
by alividerci
TGYoshi wrote:alividerci wrote:but i know this code update your numbers of weapons
Code: Select all
declare UI <=> UIManager.GetUI(Player);
if (UI != Null) {
declare netwrite Integer Net_Combo_AmmoUpdate for UI;
declare netwrite Integer[Text] Net_Combo_AmmoMax for UI;
Net_Combo_AmmoUpdate = Now;
Net_Combo_AmmoMax = AmmoMax;
}
but it is not worked
No it does not, it sets a netwrite variabele (which can be retrieved in client-sided scripts).
It's probably to show the numbers above the ammo bar in the combo mode.
hmmm, i solved my problem thx all
Re: How to use pick up items in your title packs
Posted: 26 Apr 2013, 08:55
by Eole
alividerci wrote:hmmm, i solved my problem thx all
Good. You see, when you try hard you always find a solution at the end.

Re: How to use pick up items in your title packs
Posted: 26 Apr 2013, 10:30
by faserg1
Eole, how soon I can create my own item? (I like animation of this items, I like the light of this items, I like it!

)
Re: How to use pick up items in your title packs
Posted: 26 Apr 2013, 11:20
by TGYoshi
You're not able to do so yet.
Re: How to use pick up items in your title packs
Posted: 26 Apr 2013, 13:27
by faserg1
TGYoshi wrote:You're not able to do so yet.
Really?!!
I know that. And I asked
how soon I can do this.
Re: How to use pick up items in your title packs
Posted: 26 Apr 2013, 13:36
by Eole
faserg1 wrote:Eole, how soon I can create my own item? (I like animation of this items, I like the light of this items, I like it!

)
When it's ready.
I'm not the person working on this feature, but as far as I know there's no ETA for the time being.