
rerout343
Joined: Aug 7, 2010
Targeted and Firing
|
Posted: Nov 19, 2010 05:31 AM
Msg. 1 of 3
Would it be possible to have an object like a power-up or piece of equipment that when picked-up does not affect the player but runs a simple script. (Script only needs to perform one line other than the line required to start it)
I have looked through the scripting bible but I didn't see any thing but I could have easily passed over it.
|

Head Noob
Joined: Oct 3, 2010
This difficulty is for noobs! Mythic is for pros
|
Posted: Nov 19, 2010 07:28 AM
Msg. 2 of 3
Well it would go something like this: if cammo is picked up awake script
|

MoooseGuy
Joined: Aug 10, 2008
I Approve This Message.
|
Posted: Nov 19, 2010 07:32 AM
Msg. 3 of 3
This is not possible. You would need to put a trigger volume where the powerup is located, and have the script run when the player enters that volume.
|