Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Activate / Deactivate PT-Entrys?
JFW_PT_Hide (changed topic/question) [message #328834 is a reply to message #328795] Sat, 03 May 2008 06:31 Go to previous messageGo to previous message
rrutk is currently offline  rrutk
Messages: 617
Registered: June 2007
Karma:
Colonel
Found "JFW_PT_Disable", but cant get it to work???

If I use it on a map with standard buy-logic, nothing happens.

If I use it on my map with Expanded Vehicle Factory set of scripts by Matt Bailey "Whitedragon, the game crashes. It gives critical script error with wrong paramter position, but it is correct.


JFW_PT_Disable (script to disable a PT object on startup)
Player_Type (the player type to trigger on, 0 = Nod, 1 = GDI)
Type (type to disable)
Pos (position to disable)

JFW_PT_Disable_Death (script to disable a PT object when the thing this is attached to dies)
Player_Type (the player type to trigger on, 0 = Nod, 1 = GDI)
Type (type to disable)
Pos (position to disable)

The values for type are:
0 = characters
1 = vehicles
2 = equipment
3 = secret characters
4 = secret vehicles
5 = enlisted characters
6 = beacon
For types 0,1,2,3,4, pos corresponds to the position in the Purchase Settings in leveledit, e.g. 0 for pos means "entry 1" as labeled in leveledit.
For type 5, pos corresponds to the position in the Team Purcase Settings in leveledit, e.g. 0 for pos means "Enlisted 1" as labeled in leveledit.
For type 6, pos has no effect.
The hud ini script, the wireframe mode script and the PT scripts all require bhs.dll on the client to work

[Updated on: Tue, 06 May 2008 06:37]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Server Side Map Edit
Next Topic: what is this?
Goto Forum:
  


Current Time: Tue Dec 24 20:43:43 MST 2024

Total time taken to generate the page: 0.00738 seconds