Results 1 to 30 of 82

Thread: alpaca's Script-O-Rama

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #31
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: alpaca's Script-O-Rama

    so basicly just add "console_command" in front of it ..??

    from;
    create_unit London, Armored Sergeants, num 2, exp 0, arm 0, wep 0

    to;
    console_command create_unit London, Armored Sergeants, num 2
    (to start without armour/weapon upgrades)

    will try, thanks ;)

    ps; something that might be interesting, nothing special may just save others the time to test it, a little code for being able to set a flag in EDB when crusades are active;
    Code:
    	monitor_event CrusadeCalled IsCrusade
    
    		set_event_counter crusade_active 1
    	end_monitor
    
    	monitor_event CrusadeEnds IsCrusade
    
    		set_event_counter crusade_active 0
    	end_monitor
    (change "IsCrusade" to "IsJihad" for Jihads ...)


    Edit;
    just tried the console command thingy, worked like a charm!!

    the formatting is diffirent;
    console_command create_unit London "Feudal Knights" 8 1 1 1

    numbers represent the same as with the regular command, though the number of units, in the example 8, is capped at 5 units
    the good thing is that it does not adjust itself downwards, it spawns what it can and than when it can again the full number (of max 5 units)


    G
    Last edited by Red Spot; 08-31-2007 at 13:29.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO