Hello All.
I am trying to write a script so that a key will float and rotate with a glow on the floor, as in ammoglow,armourglow scripts etc.
However, with my script I only get the object floating and spinning. No glow.
Below is the two code snippets
GLOWING AMMO works.
;Artificial Intelligence Script
;Header
desc = Ammo Glowing aPickup
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupammo.tga,hudname=ammoprompt,hudhide=1,hudmake=display,state=10
:state=10:rundecal=5,spinrate=4,floatrate=10
:state=10,plrdistwithin=40,cantake:state=1,playertake,coloff,plrsound=audiobank\items\pickup.wav,hudshow=ammoprompt,hudfadeout=ammoprompt
;End of Script
Here is the code for picking up a key, it won't glow.
;Artificial Intelligence Script
;Header
desc = Pickup Glowing Key
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\pickedupakey.tga,hudname=keyprompt,hudhide=1,hudmake=display,state=10
:state=10:rundecal=5,spinrate=5,floatrate=8
:state=10,plrdistwithin=40:state=1,playertake,coloff,plrsound=audiobank\misc\ping.wav,hudshow=keyprompt,hudfadeout=keyprompt
;end of Script
Any help as to what I am doing wrong is greatly appreciated.
Thank you in advance
Panther1965