Scripted Marines

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
killingblair
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Scripted Marines

Post by killingblair »

I need a simple script for thing no.9100 (scripted Marine)
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Post by wildweasel »

Please be more specific - what do you want this script to do?
killingblair
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Post by killingblair »

Lets see, i want the marine to look innocent (im using this marine in a
CoOp WAD) for about 15 seconds, and then totaly unload on the player with some rockets.
User avatar
Bio Hazard
Posts: 4019
Joined: Fri Aug 15, 2003 8:15 pm
Location: ferret ~/C/ZDL $
Contact:

Post by Bio Hazard »

/me makes note of this for when hes playing this map...
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

heh that's easy, it doesn't even require a script: Just put down a Rocket Launcher Marine (9108), give him a tid, and make him dormant. He'll just stand there. Then when you want him to fire rockets, use Thing_activate with a first argument set to the tid of the marine. When the marine is activated, he'll wander for a short distance like a monster and start firing rockets at the first player he sees.
Locked

Return to “Editing (Archive)”