![]() |
shoot and setshootparams help...
Ok, I got this npc weapon that does the setshootparams.
then what i want it to shoot at, it reads the params like #p(0). But what i want to happen: I want the amount that the player send in his shootparam to be passed on AND deducted from a string value. ie: NPC Code: and the object to shoot at (up, direction 0 for above code) set a big gif for it like.. state.png or something NPC Code: Any ideas how to get the variable #p(0) passed on to do a math operation with????? anyone???? |
you try this.what=strtofloat(#p(0));?
|
yee haw!
You are freakin amazing!
that worked - thanks. darned string-integer conversion, heh U R BE KEWL! |
Isn't p(0) the param for the hats???
|
Quote:
#P<index> is a gani attribute |
LOL, damn you Jagen! =P You beat me to it ;) I wanted to be cool and answer this one XP. It doesn't necessarily READ it as a variable/number. strtofloat() will though if it already doesn't :P
---Shifter |
| All times are GMT +2. The time now is 09:56 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.