xmarkerheading

Post » Sat Mar 05, 2011 4:28 am

i. can i do this:
scriptname v18combatsimulationshort buttonbegin onactivateshowmessage v18combatsimmenuv18comsimroom01.lock 100set button to getbuttonpressedif ( button == 0);spawn raiderv18combatsimoppmarker.placeatme Raider2GunAM 1 3endifend

User avatar
Rudi Carter
 
Posts: 3365
Joined: Fri Sep 01, 2006 11:09 pm

Post » Sat Mar 05, 2011 4:43 am

That will not work.

OnActivate only runs once. You need to use a GameMode block to capture a button press.

http://geck.gamesas.com/index.php/GetButtonPressed
User avatar
Sista Sila
 
Posts: 3381
Joined: Fri Mar 30, 2007 12:25 pm

Post » Sat Mar 05, 2011 3:35 am

ok. but will it display the raider at the xmarkerheading
User avatar
Anna Krzyzanowska
 
Posts: 3330
Joined: Thu Aug 03, 2006 3:08 am

Post » Sat Mar 05, 2011 4:46 am

No because you will not be able to capture the button press in an OnActivate block of code.

Put it in a GameMode block and it will place a raider at your specified Reference ID.
User avatar
Manuela Ribeiro Pereira
 
Posts: 3423
Joined: Fri Nov 17, 2006 10:24 pm


Return to Fallout 3