Scripted Marines
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.
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.
-
killingblair
- Posts: 937
- Joined: Mon Oct 04, 2004 9:16 pm
Scripted Marines
I need a simple script for thing no.9100 (scripted Marine)
- 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:
-
killingblair
- Posts: 937
- Joined: Mon Oct 04, 2004 9:16 pm
- Bio Hazard
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
- Contact:
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.