Well what happend is you go up to the bomb to plant it but its already there... What i need it por is for planting it on a pipeline so iv set the weight really high so you cant move it.iv tried placing the script in both the appear script slot and the ain script slot. What i am now going to do is place a blank script in the appear and use bomb script as the main. Im also gonna test out my time bomb script
this is an Edit---
forget what i just said, it all works fine now
well not all... the hud wont appear, im trying some stuff with it though.
this is yet another edit---
Ok iv spent a while getting it to work and it now works perfectly
Here it is
;Artificial Intelligence Script
;Header
desc = Weapon Plantbomb
;Triggers
:state=0:setalphafade=0,hudreset,hudx=50,hudy=90,hudsize=20,hudtext='F' To Plant Bomb,hudname=plantbomb,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=40:hudshow=plantbomb,state=2
:state=1,plrdistfurther=40:hudunshow=plantbomb, state=1
:state=2,scancodekeypressed=33:state=3
:state=3:setalphafade=100:runfpidefault=1,hudunshow=plantbomb,plrsound=audiobankitemspickupweapon.wav,state=4
;End of Script
My very first code